Complexity, the Changing Minimum and Closest Pair

نویسنده

  • Sariel Har-Peled
چکیده

1 Las Vegas and Monte Carlo algorithms Definition 1.1 A Las Vegas algorithm!Las Vegas algorithm is a randomized algorithms that always return the correct result. The only variant is that it's running time might change between executions. An example for a Las Vegas algorithm is the QuickSort algorithm. Definition 1.2 Monte Carlo algorithm!Monte Carlo algorithm is a randomized algorithm that might output an incorrect result. However, the probability of error can be diminished by repeated executions of the algorithm. The MinCut algorithm was an example of a Monte Carlo algorithm. If you do now know what are those things, you should read about them. Some of that is covered in the randomized algorithms book, and some other stuff is covered in any basic text on complexity theory. Definition 1.3 The class P consists of all languages L that have a polynomial time algorithm A, such that for any input Σ * , • x ∈ L ⇒ A(x) accepts. Definition 1.4 The class NP consists of all languages L that have a polynomial time algorithm A, such that for any input Σ * , • x ∈ L ⇒ then ∃y ∈ Σ * , A(x, y) accepts, where |y| (i.e. the length of y) is bounded by a polynomial in |x|. Definition 1.5 For a complexity class C, we define the complementary class co-C as the set of languages whose complement is in the class C.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On the Complexity of Closest Pair via Polar-Pair of Point-Sets

Every graph G can be represented by a collection of equi-radii spheres in a d-dimensional metric ∆ such that there is an edge uv in G if and only if the spheres corresponding to u and v intersect. The smallest integer d such that G can be represented by a collection of spheres (all of the same radius) in ∆ is called the sphericity of G, and if the collection of spheres are non-overlapping, then...

متن کامل

Spanners for Geometric Intersection Graphs

Efficient algorithms are presented for constructing spanners in geometric intersection graphs. For a unit ball graph in R, a (1+ǫ)-spanner with O(nǫ) edges is obtained using efficient partitioning of the space into hypercubes and solving bichromatic closest pair problems. The spanner construction has almost equivalent complexity to the construction of Euclidean minimum spanning trees. The resul...

متن کامل

Dominance Product and High-Dimensional Closest Pair under L_infty

Given a set S of n points in R, the Closest Pair problem is to find a pair of distinct points in S at minimum distance. When d is constant, there are efficient algorithms that solve this problem, and fast approximate solutions for general d. However, obtaining an exact solution in very high dimensions seems to be much less understood. We consider the high-dimensional L∞ Closest Pair problem, wh...

متن کامل

Dynamic Half-Space Reporting, Geometric Optimization, and Minimum Spanning Trees

We describe dynamic data structures for half-space range reporting and for maintaining the minima of a decomposable function. Using these data structures, we obtain efficient dynamic algorithms for a number of geometric problems, including closest/farthest neighbor searching, fixed dimension linear programming, bi-chromatic closest pair, diameter, and Euclidean minimum spanning tree.

متن کامل

The Power of Grids - Computing the Minimum Disk Containing k Points

In this chapter, we are going to discuss two basic geometric algorithms. The first one, computes the closest pair among a set of n points in linear time. This is a beautiful and surprising result that exposes the computational power of using grids for geometric computation. Next, we discuss a simple algorithm for approximating the smallest enclosing ball that contains k points of the input. Thi...

متن کامل

Pyramid Computer Solutions of the Closest Pair Problem

Given an N x N array of OS and Is, the closest pair problem is to determine the minimum distance between any pair of ones. Let D be this minimum distance (or D = 2N if there are fewer than two Is). Two solutions to this problem are given, one requiring O(log( N) + D) time and the other O(log( N)). These solutions are for two types of parallel computers arranged in a pyramid fashion with the bas...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005